<%@taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div class="col-sm-2 col-lg-2">
    <div class="sidebar-nav">
        <div class="nav-canvas">
            <div class="nav-sm nav nav-stacked">

            </div>
            <ul class="nav nav-pills nav-stacked main-menu">

                <li><a href="user-home.jsp"><i class="glyphicon glyphicon-home"></i><span> Home</span></a>
                </li>
                <c:if test="${sessionScope.usertype eq 'admin'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Faculties</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="faculty-register.jsp">Add Faculties</a></li>
                            <li><a href="view-faculty.jsp">View Faculties</a></li>
                        </ul>
                    </li>
                </c:if>

                

                <c:if test="${sessionScope.usertype eq 'admin'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Student</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="student-register.jsp">Add Student</a></li>
                            <li><a href="view-student.jsp">View Student</a></li>
                        </ul>
                    </li>
                </c:if>
                    <c:if test="${sessionScope.usertype eq 'admin'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Lectures</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="lecture-add.jsp">Add Lecture</a></li>
                            <li><a href="view-lecture.jsp">View Lectures</a></li>
                        </ul>
                    </li>
                </c:if>
                <c:if test="${sessionScope.usertype eq 'admin'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Branch</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="branch-add.jsp">Add Branch</a></li>
                            <li><a href="view-branch.jsp">View Branch</a></li>
                        </ul>
                    </li>
                </c:if>
                    <c:if test="${sessionScope.usertype eq 'admin'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Subject</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="subject-add.jsp">Add Subject</a></li>
                            <li><a href="view-subject.jsp">View Subject</a></li>
                        </ul>
                    </li>
                </c:if>
                <c:if test="${sessionScope.usertype eq 'admin'}"> 
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Division</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="division-add.jsp"> Add Division</a></li>
                            <li><a href="view-division.jsp">View Division</a></li>
                        </ul>
                    </li>
                </c:if>
                    <c:if test="${sessionScope.usertype eq 'admin'}"> 
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Salary</span></a>
                        <ul class="nav nav-pills nav-stacked">
                           
                            <li><a href="view-Salary.jsp">View Salary</a></li>
                        </ul>
                    </li>
                </c:if>
                <li class="accordion">
                    <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Fees</span></a>
                    <ul class="nav nav-pills nav-stacked">
                        <li><a href="view-fees.jsp">View Fees</a></li>

                    </ul>
                </li>
                   <c:if test="${sessionScope.usertype eq 'faculty'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Exams</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="exam-add.jsp">Add Exam</a></li>
                            <li><a href="view-exam.jsp">View Exam</a></li>
                        </ul>
                    </li>
                </c:if>
                  <c:if test="${sessionScope.usertype eq 'faculty'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Tests</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="test-add.jsp">Add Test</a></li>
                            <li><a href="view-test.jsp">View Test</a></li>
                        </ul>
                    </li>
                </c:if>
                    <c:if test="${sessionScope.usertype eq 'faculty'}">    
                    <li class="accordion">
                        <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Manage Questions</span></a>
                        <ul class="nav nav-pills nav-stacked">
                            <li><a href="question-add.jsp">Add Question</a></li>
                            <li><a href="view-question.jsp">View Question</a></li>
                        </ul>
                    </li>
                    </c:if>
                <li class="accordion">
                    <a href="#"><i class="glyphicon glyphicon-plus"></i><span> Login</span></a>
                    <ul class="nav nav-pills nav-stacked">
                        <li><a href="admin-login.jsp">Admin</a></li>
                        <li><a href="student-login.jsp">Student</a></li>
                        <li><a href="faculty-login.jsp">Faculty</a></li>
                    </ul>
                </li>


                <li><a href="#"><i class="glyphicon glyphicon-home"></i><span> FeedBack</span></a>
                </li>

                <li><a href="#"><i class="glyphicon glyphicon-home"></i><span> Change Password</span></a>
                </li>


            </ul>

        </div>
    </div>
</div>